package nl.weeaboo.sh.model;

public class ColCircle {

	public int x, y;
	private int radius, radiusSq;

	public ColCircle() {
	}
	public ColCircle(ColCircle c) {
		this();
		
		x = c.x;
		y = c.y;
		radius = c.radius;
		radiusSq = c.radiusSq;
	}
	
	//Functions
	public ColCircle clone() { return new ColCircle(this); }
	
	//Getters
	public int getRadius() { return radius; }
	public int getRadiusSquared() { return radiusSq; }
	
	//Setters
	public void setRadius(int r) {
		radius = r;
		radiusSq = r * r;
	}

}
